package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Elder;
import com.zzyl.nursing.domain.NursingTask;
import com.zzyl.nursing.dto.CancelInfoDto;
import com.zzyl.nursing.dto.ExecuteTaskDto;
import com.zzyl.nursing.dto.TaskUpdateTimeDto;
import com.zzyl.nursing.vo.NursingTaskVo;

import java.util.List;

/**
 * 护理任务Service接口
 *
 * @author ruoyi
 * @date 2024-09-27
 */
public interface INursingTaskService extends IService<NursingTask>
{
    /**
     * 查询护理任务
     *
     * @param id 护理任务主键
     * @return 护理任务
     */


    /**
     * 查询护理任务列表
     *
     * @param nursingTask 护理任务
     * @return 护理任务集合
     */
    public List<NursingTask> selectNursingTaskList(NursingTask nursingTask);

    /**
     * 生成护理任务
     * @param elder
     */
    void createMonthTask(Elder elder);

    void updateNursingTask(CancelInfoDto cancelInfoDto);

    void donNrsingTask(ExecuteTaskDto dto);

    void updateTime(TaskUpdateTimeDto dto);

    NursingTaskVo selectNursingTaskById(Long id);
}
